package de.koller.million.card.commands;

import de.koller.million.card.CNode;
import de.koller.aframe.util.thread.ICommand;

public class RemoveCNode implements ICommand {
	
	private final CNode toRemove;

	public RemoveCNode( CNode toRemove ) {
		this.toRemove = toRemove;
	}

	@Override
	public void handle( Object... params ) {
		toRemove.removeMe();
	}
	
}
